package com.ruoyi.knowledgeGraph.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 知识图谱信息对象 kg_info
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public class KgInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 知识图谱名称 */
    @Excel(name = "知识图谱名称")
    private String kgName;

    /** 知识图谱简介，描述信息 */
    @Excel(name = "知识图谱简介，描述信息")
    private String kgInfo;

    /** 知识图谱ip地址 */
    @Excel(name = "知识图谱ip地址")
    private String kgIp;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setKgName(String kgName) 
    {
        this.kgName = kgName;
    }

    public String getKgName() 
    {
        return kgName;
    }
    public void setKgInfo(String kgInfo) 
    {
        this.kgInfo = kgInfo;
    }

    public String getKgInfo() 
    {
        return kgInfo;
    }
    public void setKgIp(String kgIp) 
    {
        this.kgIp = kgIp;
    }

    public String getKgIp() 
    {
        return kgIp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("kgName", getKgName())
            .append("kgInfo", getKgInfo())
            .append("kgIp", getKgIp())
            .toString();
    }
}
